package gui;

import java.awt.Dimension;

import javax.swing.JFrame;

import application.GameManager;

public class StartGame extends JFrame{
	
	private GameManager _GameManager;
	
	public StartGame(GameManager manager){
		super("Snake");
		this._GameManager = manager;
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setContentPane(new StartGamePanel(this._GameManager));
		this.setMaximumSize(new Dimension(400,400));
		this.setMinimumSize(new Dimension(400,400));
		this.setResizable(false);
		this.setVisible(true);
		this.pack();
	}
	
}
